<table border="1" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse; table-layout:fixed;word-wrap:break-word;" width="100%" class="table_common">
    <tr>
        <th>地区</th>
        <th>大区</th>
        <th>小区</th>
        <th>省份</th>
        <th>城市</th>
        <th>城市等级</th>
        <th>专营店</th>
        <th>专营店编码</th>
        <th>所属双月</th>
        <th>项目流水号</th>
        <th>项目名称</th>
        <th>项目标准动作</th>
        <th>项目活动类型</th>
        <th>媒体流水号</th>
        <th>媒体类型（一级）</th>
        <th>媒体类型（二级）</th>
        <th>媒体名称</th>
        <th>投放规格</th>
        <th>发布起始时间</th>
        <th>发布结束时间</th>
        <th>发布频次</th>
        <th>预算申请费用</th>
        <th>预算审核费用</th>
        <th>结算申请费用</th>
        <th>结算审核费用</th>
    </tr>
    <?php
    foreach($gxList as $k => $v){
    	$projectData = isset($projectList[$v['projectId']]) ? $projectList[$v['projectId']] : array();
		$procData = isset($procList[$projectData['procId']]) ? $procList[$projectData['procId']] : array();
		$storeData = isset($allStoreList[$procData['storeId']]) ? $allStoreList[$procData['storeId']] : array();
    ?>
    <tr>
        <td><?php echo $storeData['area'];?></td>
        <td><?php echo $storeData['region'];?></td>
        <td><?php echo $storeData['spsarea'];?></td>
        <td><?php echo $storeData['province'];?></td>
        <td><?php echo $storeData['city'];?></td>
        <td><?php echo $storeData['cityLevel'];?></td>
        <td><?php echo $storeData['storeName'];?></td>
        <td><?php echo strtolower($storeData['coding']);?></td>
        <td><?php echo $procData['timeUnitStr'];?></td>
        <td><?php echo $projectData['id'];?></td>
        <td><?php echo $projectData['projectName'];?></td>
        <td><?php echo $projectData['actionTypeStr'];?></td>
        <td><?php echo $projectData['eventTypeStr']?></td>
        <td><?php echo $v['id'];?></td>
        <td><?php echo $v['mediaType1Str'];?></td>
        <td><?php echo $v['mediaType2Str'];?></td>
        <td><?php echo $v['mediaName'];?></td>
        <td><?php echo $v['mediaSizeStr'];?></td>
        <td><?php echo $v['startTime'];?></td>
        <td><?php echo $v['endTime'];?></td>
        <td><?php echo $v['frequency'];?></td>
        <td><?php echo $v['budgetApply'];?></td>
        <td><?php echo $v['budgetAudit'];?></td>
        <td><?php echo $v['settleApply'];?></td>
        <td><?php echo $v['settleAudit'];?></td>
    </tr>
    <?php }?>
</table>